{% extends '::base.html.twig' %}

{% block body -%}
    <h1>Invtypes list</h1>

    <table class="records_list">
        <thead>
            <tr>
                <th>Id</th>
                <th>Typename</th>
                <th>Description</th>
                <th>Mass</th>
                <th>Volume</th>
                <th>Capacity</th>
                <th>Portionsize</th>
                <th>Raceid</th>
                <th>Baseprice</th>
                <th>Published</th>
                <th>Marketgroupid</th>
                <th>Chanceofduplicating</th>
                <th>Actions</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('invtypes_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
                <td>{{ entity.typename }}</td>
                <td>{{ entity.description }}</td>
                <td>{{ entity.mass }}</td>
                <td>{{ entity.volume }}</td>
                <td>{{ entity.capacity }}</td>
                <td>{{ entity.portionsize }}</td>
                <td>{{ entity.raceid }}</td>
                <td>{{ entity.baseprice }}</td>
                <td>{{ entity.published }}</td>
                <td>{{ entity.marketgroupid }}</td>
                <td>{{ entity.chanceofduplicating }}</td>
                <td>
                <ul>
                    <li>
                        <a href="{{ path('invtypes_show', { 'id': entity.id }) }}">show</a>
                    </li>
                </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    {% endblock %}
